package com.cy.ppj.model.ao.mall;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @Description 新增品牌字段
 * @Author tanyilin
 * @Date 2019/7/2 15:56
 */
@Data
@ApiModel("新增品牌字段")
public class BrandAddAO {

    @ApiModelProperty(value = "品牌名称")
    @NotEmpty(message = "品牌名称不可为空")
    private String       name;

    @ApiModelProperty(value = "排序", example = "0")
    private Integer      weight;

    @ApiModelProperty(value = "标语")
    @NotEmpty(message = "slogan标语不可为空")
    private String slogan;

    @ApiModelProperty(value = "logo图地址")
    @NotEmpty(message = "logo不可为空")
    private String logoPath;

    @ApiModelProperty(value = "banner图")
    @NotEmpty(message = "banner图不可为空")
    private String bannerPath;

    @ApiModelProperty(value = "简介")
    @NotEmpty(message = "简介不可为空")
    private String introduction;

    @ApiModelProperty(value = "联系人姓名")
    private String contactName;

    @ApiModelProperty(value = "联系人手机号码")
    private String contactMobile;

    @ApiModelProperty(value = "品牌地址")
    private String address;
}
